<h1>Listing control_groups</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Max</th>
    <th>Min</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @control_groups.each do |control_group| %>
  <tr>
    <td><%= control_group.name %></td>
    <td><%= control_group.max %></td>
    <td><%= control_group.min %></td>
    <td><%= link_to 'Show', control_group %></td>
    <td><%= link_to 'Edit', edit_control_group_path(control_group) %></td>
    <td><%= link_to 'Destroy', control_group, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Control group', new_control_group_path %>
